package generator.domain;

import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName BD_ProOnceGas
 */
@Data
public class BdProoncegas implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private String productcode;

    /**
     * 
     */
    private String productname;

    /**
     * 
     */
    private String zjm;

    /**
     * 
     */
    private String ispuregas;

    /**
     * 
     */
    private String techparams;

    /**
     * 
     */
    private String custechparams;

    /**
     * 
     */
    private String bottlecode;

    /**
     * 
     */
    private String bottlebarcode;

    /**
     * 
     */
    private String filldate;

    /**
     * 
     */
    private String fillman;

    /**
     * 
     */
    private String isdeleted;

    /**
     * 
     */
    private String volume;

    /**
     * 
     */
    private String oldornew;

    /**
     * 
     */
    private String serialcode;

    /**
     * 
     */
    private Integer uuid;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BdProoncegas other = (BdProoncegas) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getProductcode() == null ? other.getProductcode() == null : this.getProductcode().equals(other.getProductcode()))
            && (this.getProductname() == null ? other.getProductname() == null : this.getProductname().equals(other.getProductname()))
            && (this.getZjm() == null ? other.getZjm() == null : this.getZjm().equals(other.getZjm()))
            && (this.getIspuregas() == null ? other.getIspuregas() == null : this.getIspuregas().equals(other.getIspuregas()))
            && (this.getTechparams() == null ? other.getTechparams() == null : this.getTechparams().equals(other.getTechparams()))
            && (this.getCustechparams() == null ? other.getCustechparams() == null : this.getCustechparams().equals(other.getCustechparams()))
            && (this.getBottlecode() == null ? other.getBottlecode() == null : this.getBottlecode().equals(other.getBottlecode()))
            && (this.getBottlebarcode() == null ? other.getBottlebarcode() == null : this.getBottlebarcode().equals(other.getBottlebarcode()))
            && (this.getFilldate() == null ? other.getFilldate() == null : this.getFilldate().equals(other.getFilldate()))
            && (this.getFillman() == null ? other.getFillman() == null : this.getFillman().equals(other.getFillman()))
            && (this.getIsdeleted() == null ? other.getIsdeleted() == null : this.getIsdeleted().equals(other.getIsdeleted()))
            && (this.getVolume() == null ? other.getVolume() == null : this.getVolume().equals(other.getVolume()))
            && (this.getOldornew() == null ? other.getOldornew() == null : this.getOldornew().equals(other.getOldornew()))
            && (this.getSerialcode() == null ? other.getSerialcode() == null : this.getSerialcode().equals(other.getSerialcode()))
            && (this.getUuid() == null ? other.getUuid() == null : this.getUuid().equals(other.getUuid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getProductcode() == null) ? 0 : getProductcode().hashCode());
        result = prime * result + ((getProductname() == null) ? 0 : getProductname().hashCode());
        result = prime * result + ((getZjm() == null) ? 0 : getZjm().hashCode());
        result = prime * result + ((getIspuregas() == null) ? 0 : getIspuregas().hashCode());
        result = prime * result + ((getTechparams() == null) ? 0 : getTechparams().hashCode());
        result = prime * result + ((getCustechparams() == null) ? 0 : getCustechparams().hashCode());
        result = prime * result + ((getBottlecode() == null) ? 0 : getBottlecode().hashCode());
        result = prime * result + ((getBottlebarcode() == null) ? 0 : getBottlebarcode().hashCode());
        result = prime * result + ((getFilldate() == null) ? 0 : getFilldate().hashCode());
        result = prime * result + ((getFillman() == null) ? 0 : getFillman().hashCode());
        result = prime * result + ((getIsdeleted() == null) ? 0 : getIsdeleted().hashCode());
        result = prime * result + ((getVolume() == null) ? 0 : getVolume().hashCode());
        result = prime * result + ((getOldornew() == null) ? 0 : getOldornew().hashCode());
        result = prime * result + ((getSerialcode() == null) ? 0 : getSerialcode().hashCode());
        result = prime * result + ((getUuid() == null) ? 0 : getUuid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productcode=").append(productcode);
        sb.append(", productname=").append(productname);
        sb.append(", zjm=").append(zjm);
        sb.append(", ispuregas=").append(ispuregas);
        sb.append(", techparams=").append(techparams);
        sb.append(", custechparams=").append(custechparams);
        sb.append(", bottlecode=").append(bottlecode);
        sb.append(", bottlebarcode=").append(bottlebarcode);
        sb.append(", filldate=").append(filldate);
        sb.append(", fillman=").append(fillman);
        sb.append(", isdeleted=").append(isdeleted);
        sb.append(", volume=").append(volume);
        sb.append(", oldornew=").append(oldornew);
        sb.append(", serialcode=").append(serialcode);
        sb.append(", uuid=").append(uuid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}